package com.aerospace.rpc2;

import java.io.IOException;

/**
 * @Author: Aerospace
 * @Date: 2021/5/12 19:55
 * @Description: Dream begins
 *
 * 这个阶段的优化是客户端不需要知道网络连接的细节，只需要怎么调用接口就可以。类似简易封装API
 */
public class Client {
    public static void main(String[] args) throws IOException {
        Stub stub = new Stub();
        System.out.println(stub.findUserById(123));
    }
}
